//
//  TxMapMapper.swift
//  TencentMap
//
//  Created by 吴非 on 2022/5/19.
//

import UIKit
import CoreLocation

public typealias TxCoordinate2D = CLLocationCoordinate2D

public class TxMapMapper: NSObject {
    // 国家
    public var nation: String = ""
    // 省 / 直辖市
    public var province: String = ""
    // 市 / 地级区
    public var city: String = ""
    // 区 / 县级市
    public var district: String = ""
    // 街道
    public var street: String = ""
    // 街道号码
    public var street_number: String = ""
    // 地址信息
    public var address: String = ""
    // 坐标 纬度
    public var latitude: Double = .zero
    // 坐标 经度
    public var longitude: Double = .zero
    
    // 记录坐标
    public var location: TxCoordinate2D = .init(latitude: .zero, longitude: .zero)
}
